﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Aquasoft.Iszr.Proxy.WebServices;

namespace Aquasoft.Iszr.Proxy.WebServices
{
    public static class ServiceExtensions
    {
        public static void CallAsync(this IszrServiceBase service)
        { 
            if (service == null)
                throw new ArgumentNullException("service");

            service.Url = IszrServiceManager.Instance.GetServiceUri(service.GetType(), false);
        }
    }
}
